home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 1998 September / Macworld (1998-09).dmg / Shareware World / Info / For Developers / MacZoop 1.8.3 / Projects / Small Demo Project / Show Off Classes / ShowOffStartUp.cpp < prev    next >
C/C++ Source or Header  |  1997-04-29  |  949b  |  42 lines

  1. /*************************************************************************************************
  2. *
  3. *
  4. *            ObjectMacZapp        -- a standard Mac OOP application template
  5. *
  6. *
  7. *
  8. *            ZShowOffStartUp.cpp        -- start-up code (main)
  9. *
  10. *
  11. *
  12. *
  13. *
  14. *            © 1996, Graham Cox
  15. *
  16. *
  17. *
  18. *
  19. *************************************************************************************************/
  20.  
  21. #include    "ZShowOffApplication.h"
  22. #include    "MacZoop.h"
  23.  
  24.  
  25. void    main();
  26.  
  27. /*
  28.  
  29. This example shows how you write your main() function. All you need to do is to create
  30. your ZApplication object (usually a subclass of ZApplication, though this is not required),
  31. assign it to the global gApplication, then call RunApplication. Customisation of application
  32. features is done by overriding the relevant methods, not usually by changing the way main()
  33. works.
  34.  
  35. */
  36.  
  37. void    main()
  38. {
  39.     gApplication = new ZShowOffApplication();    // make the application object...
  40.     
  41.     RunApplication();                            // ...and run it.    
  42. }